import { createApp } from 'vue'
import './style.css'
import App from './App.vue'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import zhCn from 'element-plus/dist/locale/zh-cn.mjs'
import router from './router'
import GoEasy from 'goeasy';
const goEasy = GoEasy.getInstance({
    host: 'hangzhou.goeasy.io',	//应用所在的区域地址: 【hangzhou.goeasy.io |singapore.goeasy.io】
    appkey: 'BC-c1187292e1fb4848a341ed666700ec40', // common key,
    modules: ['im']
});
const app = createApp(App)
app.provide('GoEasy', GoEasy);
app.provide('goEasy', goEasy);
app.use(router)
app.use(ElementPlus, {
    locale: zhCn,
})
app.config.globalProperties.GoEasy = GoEasy
app.config.globalProperties.goEasy = goEasy
app.config.globalProperties.currentAgents = "qwer"
app.mount('#app')
